package com.imooc.product.utils;

import com.imooc.product.vo.ResultVO;

/**
 * @author : 浦希成
 * @date : 2018/7/27 16:52
 */
public class ResultVoUtil {
    public static ResultVO success(Object o){
        ResultVO resultVO=new ResultVO();
        resultVO.setData(o);
        resultVO.setCode(200);
        resultVO.setMsg("success");
        return resultVO;
    }
}
